package service;



import entity.T163;
import entity.Userinfo;

import java.util.List;

/**
 * @Author wuchao66
 * @Date 2023/3/28 13:56
 * @PackageName:com.wuchao.jdbc2.service
 * @ClassName: Service
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public interface ServiceUser {//为了框架调用和映射
    //查--返回值序列化 以后甚至是json,Object...xjj对象数组入参 解构
    public List<Userinfo> executeQuery(String sql, Object... xjj);
    //增删改
    public int executeUpdate(String sql, Object... xjj);
    //登录 select count(1) from t163 where name=? and sex =?
    public int load(String sql, Object... xjj);
}
